package com.blqy.fr.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blqy.fr.common.result.Result;
import com.blqy.fr.model.user.User;
import com.blqy.fr.vo.user.UserDetailVo;
import com.blqy.fr.vo.user.UserMyVo;
//import com.blqy.fr.model.user.UserSubscribe;

import java.util.Map;

public interface UserService extends IService<User> {

    Map<String, Object> wxLogin(String code) throws Exception;

    UserDetailVo findUserThree(Long id);

    UserMyVo findUserTwo(Long userId, Long roleId);

    void updateUserInfo(UserDetailVo userDetailVo);


//    Boolean isPaidAlbum(Long albumId);
//
//    List<Long> getPaidTracksIdByAlbum(Long albumId);
//
//    void updateVipExpireStat();

    //Page<UserSubscribe> findUserSubscribePage(Integer page, Integer limit);

}
